package com.example.demo.service;

import com.example.demo.common.domain.CompensatoryLeavePlus;
import com.example.demo.common.domain.CompensatoryLeaveRecord;

import java.util.List;

public interface ComLeaveService {
    List<CompensatoryLeavePlus> selectAllPlus();

    void updateGIdByPrimaryId(Integer cid, Integer gid);

    void updateDIdByPrimaryId(Integer cid, Integer did);

    void updateDivIdByPrimaryId(Integer cid, Integer divid);

    List<CompensatoryLeavePlus> GeneralSelectAllComLeave();

    List<CompensatoryLeavePlus> DeputySelectAllComLeave();

    List<CompensatoryLeaveRecord> selectAll();

    CompensatoryLeaveRecord selectByPrimaryId(Integer cid);

    void insertSelective(CompensatoryLeaveRecord compensatoryLeaveRecord);
}
